using System;
using bitzhuwei.Compiler;

namespace bitzhuwei.ExpFormat {
    partial class CompilerExp {
        /// <summary>
        /// Vt types are used both for lexical-analyze and syntax-parse.
        /// <para>Vn types are only for syntax-parse.</para>
        /// <para>Vt is quoted in ''.</para>
        /// <para>Vn is not quoted in ''.</para>
        /// </summary>
        public static class st {
            // Vt
            /// <summary>
            /// Something wrong within the source code.
            /// </summary>
            public const int Error错 = -1; // "'×'";

            /// <summary>
            /// '¥'
            /// </summary>
            public const int @终 = 0; // "'¥'"

            /// <summary>
            /// '+'
            /// </summary>
            public const int @Plus符 = 1; // "'+'"
            /// <summary>
            /// '-'
            /// </summary>
            public const int @Dash符 = 2; // "'-'"
            /// <summary>
            /// '*'
            /// </summary>
            public const int @Asterisk符 = 3; // "'*'"
            /// <summary>
            /// '/'
            /// </summary>
            public const int @Slash符 = 4; // "'/'"
            /// <summary>
            /// '('
            /// </summary>
            public const int @LeftParenthesis符 = 5; // "'('"
            /// <summary>
            /// ')'
            /// </summary>
            public const int @RightParenthesis符 = 6; // "')'"
            /// <summary>
            /// 'number'
            /// </summary>
            public const int @number = 7; // "'number'"

            /// <summary>
            /// kinds of ('¥' + user-defined Vt)
            /// </summary>
            public const int eVtKinds = 8;


            // Vn
            /// <summary>
            /// Exp
            /// </summary>
            public const int Exp枝 = 8; // "Exp"
            /// <summary>
            /// Term
            /// </summary>
            public const int Term枝 = 9; // "Term"
            /// <summary>
            /// Factor
            /// </summary>
            public const int Factor枝 = 10; // "Factor"

        }
    }
}
